package com.ks.dao;

import com.ks.base.BaseDao;
import com.ks.entity.User;
import org.apache.ibatis.annotations.Param;

import javax.ws.rs.ext.ParamConverter;
import java.util.List;
import java.util.Map;

public interface UserDao<T> extends BaseDao<T> {

    public List<T> queryListByExam(Object o);

    public T queryByAccount(Object o);

    List<T> findByUnitId(Object o);

    List<User> findByUnitIdAndRankIdAndProId(Object o);

    List<Map<String,Object>> findByUnitIdsAndRankIdsAndProIds(Object o);

    List<User> findAllDesc(Object o);

}
